<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	version="1.0">
	<xsl:template match="/models">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>ACME Bike</title>
<link href="app3.css" type="text/css" rel="stylesheet"/>
</head>
<body>
	<br/>
	<table id="data-table">
		<!-- Colgroup -->
		<colgroup>
			<col class="data-table-odd"/>
			<col class="data-table-odd"/>
		</colgroup>
		<thead>
			<tr style="background-color: #DDDDDD">
				<th style="width:400px">Model name</th>
				<th style="width:80px"><xsl:value-of select="@sortBy"></xsl:value-of></th>
			</tr>
		</thead>
		<xsl:for-each select="result">
		<tr class="summary-row" >
			<td><xsl:value-of select="model" /></td>
			<td align="center"><xsl:value-of select="sortedvalue" /></td>
		</tr>
		</xsl:for-each>
		
	</table>
	</body>
</html>
	</xsl:template>
</xsl:stylesheet>

